<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF8">
<title>Payment</title>
<script language="JavaScript">
	//Disable right mouse click Script
	//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
	//For full source code, visit http://www.dynamicdrive.com
	
var message=" Rightmouse is disabled";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")

</script>
<script language="JavaScript">
	//////////F12 disable code////////////////////////
	document.onkeypress = function(event) {
		event = (event || window.event);
		if (event.keyCode == 123) {
			//alert('No F-12');
			return false;
		}
	}
	document.onmousedown = function(event) {
		event = (event || window.event);
		if (event.keyCode == 123) {
			//alert('No F-keys');
			return false;
		}
	}
	document.onkeydown = function(event) {
		event = (event || window.event);
		if (event.keyCode == 123) {
			//alert('No F-keys');
			return false;
		}
	}
	/////////////////////end///////////////////////
</script>
</head>
<body>

	<tiles:insertTemplate template="/pages/masterpage/masterPage.jsp">
		<tiles:putAttribute name="body">

			<logic:empty name="username" scope="session">
				<logic:forward name="home" />
			</logic:empty>

		
			<div class="row" style="margin-left: -95px; margin-top: 30px;">
				<div class="col-xs-12 col-md-3 col-md-offset-2">
					<div class="panel panel-warning" style="text-align: center">
						<div class="panel-heading">
							<h3 class="panel-title">Bronze</h3>
						</div>
						<div class="panel-body">
							<div class="the-price">
								<h2 style="color: #F09635;">200 point</h2>
								<small>Only 1$</small>
							</div>
							<table class="table">
								<tr>
									<td>Become Dev</td>
								</tr>
								<tr class="active">
									<td>~10 App</td>
								</tr>
								
							</table>
						</div>
						<div class="panel-footer">
							<form target="_top" class="paypal-button"
								action="https://www.sandbox.paypal.com/cgi-bin/webscr"
								method="post">
								<div id="errorBox" class="hide"></div>
								<input value="www.sandbox" name="env" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit1.jms"
									name="return" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit1.jms"
									name="notify_url" type="hidden"><input value="USD"
									name="currency_code" type="hidden"><input value="1"
									name="amount" type="hidden"><input value="1"
									name="quantity" type="hidden"><input
									value="200 Navi Coin" name="item_name" type="hidden"><input
									value="buynow" name="button" type="hidden"><input
									value="_xclick" name="cmd" type="hidden"><input
									value="hieumt@naviapp.com" name="business" type="hidden"><input
									value="JavaScriptButton_buynow" name="bn" type="hidden">
								<button class="btn btn-success paypal-button large"
									type="submit">Buy Now</button>
							</form>
						</div>
					</div>
				</div>
				<div class="col-xs-12 col-md-3">
					<div class="panel panel-success" style="text-align: center">
						<div class="cnrflash">
							<div class="cnrflash-inner">
								<span class="cnrflash-label">MOST <br> POPULR
								</span>
							</div>
						</div>
						<div class="panel-heading">
							<h3 class="panel-title">Silver</h3>
						</div>
						<div class="panel-body">
							<div class="the-price">
								<h2 style="color: #96D196;">1200 point</h2>
								<small>Only 5$</small>

							</div>
							<table class="table">
								<tr>
									<td>Become Dev</td>
								</tr>
								<tr class="active">
									<td>~50 apps</td>
								</tr>
								
							</table>
						</div>
						<div class="panel-footer">
							<form target="_top" class="paypal-button"
								action="https://www.sandbox.paypal.com/cgi-bin/webscr"
								method="post">
								<div id="errorBox" class="hide"></div>
								<input value="www.sandbox" name="env" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit5.jms"
									name="return" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit5.jms"
									name="notify_url" type="hidden"><input value="USD"
									name="currency_code" type="hidden"><input value="5"
									name="amount" type="hidden"><input value="1"
									name="quantity" type="hidden"><input
									value="1200 Navi Coin" name="item_name" type="hidden"><input
									value="buynow" name="button" type="hidden"><input
									value="_xclick" name="cmd" type="hidden"><input
									value="hieumt@naviapp.com" name="business" type="hidden"><input
									value="JavaScriptButton_buynow" name="bn" type="hidden">
								<button class="btn btn-success paypal-button large"
									type="submit">Buy Now</button>
							</form>
						</div>
					</div>
				</div>
				<div class="col-xs-12 col-md-3" >
					<div class="panel panel-info" style="text-align: center">
						<div class="panel-heading">
							<h3 class="panel-title">Gold</h3>
						</div>
						<div class="panel-body">
							<div class="the-price">
								<h2 style="color: #8D83FD;">3000 point</h2>
								<small>Only 10$</small>

							</div>
							<table class="table">
								<tr>
									<td>Become Dev</td>
								</tr>
								<tr class="active">
									<td>~150 apps</td>
								</tr>
								
							</table>
						</div>
						<div class="panel-footer">
							<form target="_top" class="paypal-button"
								action="https://www.sandbox.paypal.com/cgi-bin/webscr"
								method="post">
								<div id="errorBox" class="hide"></div>
								<input value="www.sandbox" name="env" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit10.jms"
									name="return" type="hidden"><input
									value="http://localhost:8080/Struts_1.3_WebApp_FrameWork/deposit10.jms"
									name="notify_url" type="hidden"><input value="USD"
									name="currency_code" type="hidden"><input value="10"
									name="amount" type="hidden"><input value="1"
									name="quantity" type="hidden"><input
									value="3000 Navi Coin" name="item_name" type="hidden"><input
									value="buynow" name="button" type="hidden"><input
									value="_xclick" name="cmd" type="hidden"><input
									value="hieumt@naviapp.com" name="business" type="hidden"><input
									value="JavaScriptButton_buynow" name="bn" type="hidden">
								<button class=" btn btn-success paypal-button large"
									type="submit">Buy Now</button>
							</form>
						</div>
					</div>
				</div>
			</div>












		</tiles:putAttribute>
	</tiles:insertTemplate>
</body>
</html>